Entering or changing the comment for a declared variable

How to enter a comment for a variable already declared within a →graphical editor or change an already existing comment:

  1. Make the list of declared variables visible. Alternative for an →input variable, →output variable or →in-/out variableOpen the interface editor for the object (from within the project explorer).  

  2. Point to the column Comment for the variable and double-click.
    Alternative: Use the command Edit Comment provided within the context menu.
    (info) The description or comment cannot be edited in this list, if the variable has been declared based on a →structured data type and the description or comment of the structure element is displayed.

  3. Enter the requested text. 
    A text with several lines is possible – press Shift+Enter. If you need the code for a newline in a textual editor, please refer to "Which code is required for a newline in a description or comment?". 

  4. Accept the change by pressing the Enter-key or clicking the primary mouse button outside of the current field. Press the ESC-key, if you want to discard the change.